/*
 * @Author: zhouwei wei.zhou@flip.fun
 * @Date: 2024-04-02 19:47:27
 * @LastEditors: zhouwei wei.zhou@flip.fun
 * @LastEditTime: 2024-04-07 17:16:41
 * @FilePath: /50/手撕系列/Object_create.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/**
 * @description Object.create
 * @description 创建并返回一个新对象,并以传入的对象作为新对象的原型
 * @param {*} obj
 * @returns
 */
function create(obj) {
	const Fn = function () {}
	Fn.prototype = obj
	return new Fn()
}
